package cn.cvs.service;

import cn.cvs.pojo.SysUser;

import java.util.List;

public interface SysUserService {


    SysUser login(String s, String s1) throws Exception;

    List<SysUser> getUserList(String realName,String roleId) throws Exception;

    int getUserCount(String s, Integer integer) throws Exception;

    int add(SysUser sysUser) throws Exception;
    SysUser getUserById(Integer id) throws Exception;
    boolean update(SysUser sysUser) throws Exception;
    int deleteById(Integer id) throws Exception;
    boolean updatePwd(Integer integer, String s) throws Exception;
    SysUser getByAccount(String s) throws Exception;
    /*





    */
}
